projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d85523
)
minios: have xenbus_printf return the error returned by xenbus_write
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 27 Feb 2008 13:11:33 +0000
(13:11 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 27 Feb 2008 13:11:33 +0000
(13:11 +0000)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
extras/mini-os/xenbus/xenbus.c
patch
|
blob
|
history
diff --git
a/extras/mini-os/xenbus/xenbus.c
b/extras/mini-os/xenbus/xenbus.c
index dd3bccbb8e140681798736ce082311ecc0d85858..1a96ce2f24927dd355e178c4b5548dc341602dd5 100644
(file)
--- a/
extras/mini-os/xenbus/xenbus.c
+++ b/
extras/mini-os/xenbus/xenbus.c
@@
-637,9
+637,7
@@
char* xenbus_printf(xenbus_transaction_t xbt,
va_start(args, fmt);
vsprintf(val, fmt, args);
va_end(args);
- xenbus_write(xbt,fullpath,val);
-
- return NULL;
+ return xenbus_write(xbt,fullpath,val);
}
static void do_ls_test(const char *pre)